package com.xiaoxi.abstractfactorymode.factory;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName IGray
 * @Description
 * @Author xiaoxi
 * @Date 2023/3/12 21:59
 * @Version 1.0
 */
public abstract class ITray extends IItem {
    protected List<IItem> iItemList = new ArrayList<>();

    public ITray(String caption) {
        super(caption);
    }

    public void add(IItem iItem) {
        iItemList.add(iItem);
    }

}
